package com.luotianacg.mode.observerPattern.realizeBySelf;

/**
 * @Author: luotian
 * @Date: 2023/4/9 23:28
 */
public class WeatherStation {
    public static void main(String[] args) {
        WeatherData weatherData=new WeatherData();
        CurrentConditionsDisplay currentConditionsDisplay=new CurrentConditionsDisplay(weatherData);
        StatisticsDisplay statisticsDisplay=new StatisticsDisplay(weatherData);
        ForecastDisplay forecastDisplay=new ForecastDisplay(weatherData);
        weatherData.setMeasureMents(80,65,30.4f);
    }
}
